ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing.Layers Namespace / ImGearLayeredPage Class / ImGearLayeredPage Constructor / ImGearLayeredPage Constructor(Int32,Int32,ImGearColorSpace,Int32[],Boolean)
Width of the page.
Height of the page.
Color space of the page.
Channel depths of the page.
If true, allocate DIB pixels; false otherwise.




In This Topic
    ImGearLayeredPage Constructor(Int32,Int32,ImGearColorSpace,Int32[],Boolean)
    In This Topic
    Initializes a new instance of the ImGearLayeredPage class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal colorSpace As ImGearColorSpace, _
       ByVal channelDepths() As Integer, _
       ByVal allocatePixels As Boolean _
    )
    'Usage
     
    Dim width As Integer
    Dim height As Integer
    Dim colorSpace As ImGearColorSpace
    Dim channelDepths() As Integer
    Dim allocatePixels As Boolean
     
    Dim instance As New ImGearLayeredPage(width, height, colorSpace, channelDepths, allocatePixels)
    public ImGearLayeredPage( 
       int width,
       int height,
       ImGearColorSpace colorSpace,
       int[] channelDepths,
       bool allocatePixels
    )
    public: ImGearLayeredPage( 
       int width,
       int height,
       ImGearColorSpace colorSpace,
       int[]* channelDepths,
       bool allocatePixels
    )
    public:
    ImGearLayeredPage( 
       int width,
       int height,
       ImGearColorSpace colorSpace,
       array<int>^ channelDepths,
       bool allocatePixels
    )

    Parameters

    width
    Width of the page.
    height
    Height of the page.
    colorSpace
    Color space of the page.
    channelDepths
    Channel depths of the page.
    allocatePixels
    If true, allocate DIB pixels; false otherwise.
    Remarks
    Creates a blank layered page from the specified attributes.
    See Also